package com.spring4a.stereo_xmlconfig.soundsystem;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

/**
 * Created by Temp on 2017/9/18.
 */

public class CDPlayer implements MediaPlayer {

    private SgtPappers sgtPappers_xml;

    public CDPlayer(SgtPappers sgtPappers) {
        this.sgtPappers_xml = sgtPappers;
    }

    public void play() {
        sgtPappers_xml.play();
    }
}
